<template>
	<view class="flex-col">
		<view class="flex-col section_1">
			<view class="flex-col section_2">
				<view class="justify-center group">
					<text class="text">主材采购咨询</text>
					<image :src="imgUrl+'16557826972539921602.png'" class="image" @click="close" />
				</view>
				<view class="flex-col list">
					<view class="flex-row list-item">
						<image :src="imgUrl+'16557826972553682828.png'" class="image_1" />
						<view class="flex-col items-start group_1" @click="click1">
							<text class="text_1">主材询价</text>
							<text class="text_2">已知主材型号想询价</text>
						</view>
					</view>
					<view class="flex-row section_4">
						<image :src="imgUrl+'16557827879230979408.png'" class="image_3" />
						<view class="flex-col items-start view_1" @click="click2">
							<text class="text_5">选材咨询</text>
							<text class="text_4">不确定选什么和怎么选</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {
				imgUrl:this.$IMG_URL,
			};
		},
		methods: {
			close() {
				this.$emit('close');
			},
			click1() {
				this.$emit('close');
				this.go('/pages/consult/inquiry')
			},
			click2() {
				this.$emit('close');
				this.go('/pages/optimize/consult')
			},
		},
	};
</script>

<style scoped lang="scss">
	.page {
		/* background-color: #ffffffff; */
		width: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		height: 100vh;


	}

	.section_1 {
		height: 100vh;
		background-color: #00000099;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}

	.section_2 {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		padding: 24px 16px 64px 24px;
		background-color: #ffffff;
		border-radius: 12px 12px 0px 0px;
	}

	.group {
		position: relative;
	}

	.text {
		color: #333333;
		font-size: 18px;
		font-family: '.AppleSystemUIFont';
		font-weight: bold;
	}

	.image {
		position: absolute;
		top: 0rpx;
		right: 0;
		bottom: 0;
		width: 14px;
		height: 14px;
	}

	.section_4 {
		margin-right: 8px;
		margin-top: 16px;
		padding: 14.5px 22.5px 20px;
		background-color: #1d6aff14;
		border-radius: 8px;
	}

	.image_1 {
		margin-top: 9.25px;
		width: 35px;
		height: 34.5px;
	}

	.text_1 {
		color: #fd7b0b;
		font-size: 16px;
		font-family: '.AppleSystemUIFont';
		line-height: 19px;
	}

	.text_2 {
		margin-top: 11.5px;
		color: #333333;
		font-size: 12px;
		font-family: '.AppleSystemUIFont';
		line-height: 14px;
	}

	.text_4 {
		margin-top: 11.5px;
		color: #333333;
		font-size: 12px;
		font-family: '.AppleSystemUIFont';
		line-height: 14px;
	}

	.list {
		margin-top: 29.5px;
	}

	.list-item {
		margin-right: 8px;
		padding: 14.5px 21px 20px;
		background-color: #fd7b0b14;
		border-radius: 8px;
	}

	.group_1 {
		margin-left: 19.5px;
		flex: 1 1 auto;
	}

	.image_3 {
		margin-top: 9px;
		overflow: hidden;
		width: 32px;
		height: 32px;
	}

	.view_1 {
		margin-left: 21px;
		flex: 1 1 auto;
	}

	.text_5 {
		color: #1d6aff;
		font-size: 16px;
		font-family: '.AppleSystemUIFont';
		line-height: 19px;
	}
</style>
